package org.popupcommunication.dao;


import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;


import java.util.List;

@Transactional
@Repository
public interface GenericRepository<T>{

	public void add(T item);

	public void delete(T item);

	public T save(T item);
	
	public T merge(T item);


	public List<T> findAll();

	public T findById(int id) ;
	
}